/*
 Navicat Premium Data Transfer

 Source Server         : OH
 Source Server Type    : SQL Server
 Source Server Version : 11007001
 Source Host           : OH:1433
 Source Catalog        : mybbs
 Source Schema         : dbo

 Target Server Type    : SQL Server
 Target Server Version : 11007001
 File Encoding         : 65001

 Date: 22/04/2022 17:35:21
*/


-- ----------------------------
-- Table structure for Users
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[Users]') AND type IN ('U'))
	DROP TABLE [dbo].[Users]
GO

CREATE TABLE [dbo].[Users] (
  [Id] int  IDENTITY(1,1) NOT NULL,
  [UserNo] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [UserName] varchar(10) COLLATE Chinese_PRC_CI_AS  NULL,
  [UserLevel] int  NULL,
  [Password] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL
)
GO

ALTER TABLE [dbo].[Users] SET (LOCK_ESCALATION = TABLE)
GO


-- ----------------------------
-- Records of [Users]
-- ----------------------------
SET IDENTITY_INSERT [dbo].[Users] ON
GO

INSERT INTO [dbo].[Users] ([Id], [UserNo], [UserName], [UserLevel], [Password]) VALUES (N'1', N'123456', N'黄成龙', N'12', N'123456')
GO

INSERT INTO [dbo].[Users] ([Id], [UserNo], [UserName], [UserLevel], [Password]) VALUES (N'2', N'111', N'111', N'12', N'111')
GO

INSERT INTO [dbo].[Users] ([Id], [UserNo], [UserName], [UserLevel], [Password]) VALUES (N'3', N'222', N'222', N'12', N'333')
GO

INSERT INTO [dbo].[Users] ([Id], [UserNo], [UserName], [UserLevel], [Password]) VALUES (N'4', N'444', N'444', N'12', N'444')
GO

SET IDENTITY_INSERT [dbo].[Users] OFF
GO


-- ----------------------------
-- Primary Key structure for table Users
-- ----------------------------
ALTER TABLE [dbo].[Users] ADD CONSTRAINT [PK__Users__3214EC07CD638033] PRIMARY KEY CLUSTERED ([Id])
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)  
ON [PRIMARY]
GO

